home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Unix / skey / misc / README.ftpd < prev    next >
Text File  |  1993-11-01  |  1KB  |  37 lines

  1.  
  2. S/Key can be implemented into any ftpd daemon with very little work.
  3.  
  4. The ftpd.c source in this directory has been modified to work with
  5. the S/Key system.  This particular ftpd.c source comes from the 
  6. WUARCHIVE FTP version 2.1c.
  7.  
  8. You may easily replace the standard ftpd.c in wuarchive-ftpd (2.1c) with
  9. this version which has S/KEY modifications.  If you do use this, you must
  10. do the following:
  11.  
  12. Edit the Makefile for wuarchive-ftpd (in the ftpd/src directory) and add
  13. "-DSKEY" to the "CFLAGS =" string.
  14.  
  15. Example: 
  16.  
  17. old: CFLAGS   = -DDEBUG ${IFLAGS} ${LFLAGS}
  18. new: CFLAGS   = -DDEBUG -DSKEY ${IFLAGS} ${LFLAGS}
  19.  
  20. You must also copy the S/Key library (libskey.a) into the ftpd/src directory
  21. and change the "LIBES =" line.
  22.  
  23. old: LIBES    = -lsupport -lsocket -lnsl -lgen libskey.a
  24. new: LIBES    = -lsupport libskey.a
  25.  
  26. (Note: Your LIBES might have different libraries than above, just add the
  27.  libskey.a on the end)
  28.  
  29. Now your ready to build the new wuarchive ftpd.
  30.  
  31. If you want to add S/KEY implementation into other ftpd source, just follow
  32. the included ftpd.c source in this directory and look for the "#ifdef SKEY"
  33. lines.
  34.  
  35.  
  36.  
  37.